<?php $title_lang= field('title'); $description_lang= field('description'); ?>
<div class="content_left left">
  <div class="slider_bar left">
    <?=Modules::run('category/munu_left',$this->uri->segment(2));?>
    <!-- BANNER LEFT -->
    <div id="banner_left">
      <?=Modules::run("banner/list_left_banner");?>
    </div>
  </div><!-- end .slider_bar -->

  <div class="content_member_right left">
    <div class='page-title'><?php if(isset($result_lang)) { print($result_lang->$title_lang); } ?></div>
    <?php if(empty($posts) || $this->uri->segment(2) != 'client-resources') { ?>
      <div class="fs14 mt8"><?php if(isset($result_lang)) { print($result_lang->$description_lang);}?></div>


      <?php if($this->uri->segment(2)=='our-people' && isset($related_posts)) { ?>
        <div class="related_posts">
          <ul>
          <?php  foreach ($related_posts as $post) { ?>
            <li><a href="<?=PATH_URL_LANG.$post->link?>"><?=$post->$title_lang?></a></li>
          <?php } ?>
          </ul>
        </div>
      <?php } ?>
    <?php } else { ?>
      <table>
        <tbody>
        <?php foreach ($posts as $post) { ?>
        <tr>
          <td><div class="created"><?=date('d-m-Y', strtotime($post->created))?></div></td>
          <td><div class="post-title"><a href="<?=PATH_URL_LANG.$post->link?>" title=''><?=$post->$title_lang?></a></div></td>
        </tr>
        <?php } ?>
        </tbody>
      </table>
      <?php if(isset($pagination)) { print $pagination; } ?>
    <?php } ?>

    <?php if($this->uri->segment(2) == 'about-us' && $this->uri->segment(3) =='') { ?>
      <div class="video mt10" style='margin-top: 10px !important;'>
        <iframe width="520" height="300" src="http://www.youtube.com/embed/3QTOQKLA3rY?autoplay=1" frameborder="0" allowfullscreen></iframe>
      </div>
    <?php } ?>

    <div style="height:60px;"></div>
  </div>
  <div class="clearAll"></div>
</div>

<div class="content_right right">
  <!-- USER BLOCK -->
  <?=Modules::run('users/block','user_info');?>

  <div id="wrap_banner">
    <?=Modules::run("banner/list_right_banner");?>
  </div>
</div>
<div class="clearAll"></div>
